package edu.whut.mall.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.whut.mall.admin.model.RoleResources;
import edu.whut.mall.common.mybatis.ParamsMap;

/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-17 15.08
 */
public interface RoleResourcesMapper extends BaseMapper<RoleResources> {
    /**
     * 通过角色id逻辑删除角色资源
     * @param map
     * @return
     */
    Integer deleteAllByRoleId(ParamsMap map);
}
